<template>
    <el-select
        v-model="modelValue"
        placeholder="筛选状态"
        clearable
        style="width: 150px"
        @change="$emit('update:modelValue', modelValue)"
    >
        <el-option label="全部" value="" />
        <el-option label="待审批" value="待审批" />
        <el-option label="已通过" value="已通过" />
        <el-option label="未通过" value="未通过" />
    </el-select>
</template>
<script setup>
defineProps({
    modelValue: String,
});
defineEmits(["update:modelValue"]);
</script>